package vo;

import po.*;

public class TeacherVO {
	private String name;
	private String id;
	private Institute institute;

	public TeacherVO(String name, String id, Institute institute) {
		this.name = name;
		this.id = id;
		this.institute = institute;
	}

	public TeacherVO(TeacherPO teacherPO) {
		this.name = teacherPO.getName();
		this.id = teacherPO.getId();
		this.institute = teacherPO.getInstitute();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Institute getInstitute() {
		return institute;
	}

	public void setInstitute(Institute institute) {
		this.institute = institute;
	}

}
